Premmerce\ProductComparison\Frontend\Frontend A

Total Complexity 60
Dependencies 6
Dependents 1
Total lines 427
Lines of code 241
Logical lines of code 116
Comment lines 93
Methods 14
Properties 4

Methods 14

Method Rating Maintainability Complexity Lines of code
prepareComparisonDataCategory()
A
43 13 47
prepareComparisonData()
A
46 11 37
comparisonPage()
A
49 10 29
getUrlCategoryByProductId()
S
56 7 19
getProductCategory()
S
48 5 35
getPageSlug()
S
63 4 12
buildNewAttribute()
S
63 2 11
checkIntegration()
S
70 2 6
__construct()
S
63 1 10
enqueueScripts()
S
71 1 6
buildCategoryUrl()
S
66 1 8
buildNewCategory()
S
65 1 10
renderComparisonBtn()
S
67 1 8
getComparisonAddUrl()
S
78 1 3